/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Rutas;
import SimuladorGPS.*;
import com.thoughtworks.xstream.XStream;
import java.io.FileWriter;
import java.io.File;
import java.io.IOException;
/**
 *
 * @author Zoila
 */
public class GestorRutas {

    /**
     * @param args the command line arguments
     */
    public static void IniciarSimulacion(int buses, int rutas) {
        // TODO code application logic here
        
        System.out.println(""+buses+"*"+rutas);
        while (rutas>0){
            SimBus sim= new SimBus(buses,rutas--);
            System.out.println(""+rutas);           
            /*sim.start();
            try{
                Thread.currentThread().sleep(10);
            }
            catch(Exception ie){
                System.out.println(ie.toString());
            }
            //rutas--;
            sim.detenenSimBus();
            
            */
        }
        System.out.println("SALI DEL WHILE DE CREAR RUTAS!!!!");           
    }
    
}
